package org.mathig.poker;

/**
 * 
 * @author mathig
 */
public class StakesConfig {

	private int ante;

	private int smallBlind;

	private int bigBlind;

	public StakesConfig(int ante, int smallBlind, int bigBlind) {
		this.ante = ante;
		this.smallBlind = smallBlind;
		this.bigBlind = bigBlind;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		if (ante > 0)
			sb.append("ante = ").append(ante).append(", ");
		sb.append("SB = ").append(smallBlind).append(", ");
		sb.append("BB = ").append(bigBlind);
		return sb.toString();
	}

	public int getAnte() {
		return ante;
	}

	public void setAnte(int ante) {
		this.ante = ante;
	}

	public int getSmallBlind() {
		return smallBlind;
	}

	public void setSmallBlind(int smallBlind) {
		this.smallBlind = smallBlind;
	}

	public int getBigBlind() {
		return bigBlind;
	}

	public void setBigBlind(int bigBlind) {
		this.bigBlind = bigBlind;
	}

}
